color editor: Ensure spin buttons are wide enough
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 23:26:09 +0000 (18:26 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 23:26:09 +0000 (18:26 -0500)
If we don't explicitly ask for 2 chars to be visible, we might
get less, and it doesn't look great.

gtk/ui/gtkcoloreditor.ui

index c0d91ebd4f04c2de54ecd72a3cf3f03e65a4abdb..1c3e9717959deee10875242bdbf4ce2ae9f26936 100644 (file)
           <object class="GtkSpinButton" id="a_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
-            <property name="invisible_char_set">1</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="a_entry-atkobject">
           <object class="GtkSpinButton" id="h_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
-            <property name="invisible_char_set">1</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="h_entry-atkobject">
           <object class="GtkSpinButton" id="s_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="s_entry-atkobject">
           <object class="GtkSpinButton" id="v_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
-            <property name="invisible_char_set">1</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="v_entry-atkobject">